package datastructure.doublylinkedlist;

/**
 *
 * @author Lei Zhang
 */
class Node {

    int value = 0;
    Node next = null;
    Node prev = null;

    public Node() {
    }

    public Node(int value) {
        this.value = value;
    }

    public void setNext(Node n) {
        next = n;
    }

    public void setPrev(Node p) {
        prev = p;
    }
}
